# 常见的标准模块
import math
import random
import sys

# system模块
import time

print(sys.argv)
print(sys.path)
print(sys.version)
print(sys.platform)
# print(sys.exit(0))

# random模块
a = [1, 2, 3, 4, 5, 6, 7, 8, 9]
temp = random.choice(a)
print(temp.__str__())
while True:
    num = math.ceil(random.random() * 10)
    time.sleep(1 / 3)
    print(num)
    if num == 10:
        break

# time模块
print(time.time())
timezone = time.strptime('2019-02-25', "%Y-%m-%d")
print(time.localtime())
print(time.asctime())
print(time.mktime(timezone))
print(time.strftime("%Y-%m-%d %H:%M:%S"))
